<?php

function changeDateFRtoUS($date){
	$d = Date($date);

	return date("Y/m/d",strtotime($d));
}

function changeDateUStoFR($date){
	$d = Date($date);

	return date("d-m-Y",strtotime($d));
}

?>